<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/3/16 0016
 * Time: 上午 9:36
 */

namespace Home\Controller;


use Think\Controller;

class NavController extends Controller
{
        public function __construct()
        {
            parent::__construct();
            $catModel = D('Admin/Category');
            $catData = $catModel->getNavData();
            $this->assign('catData',$catData);
        }
}